import { createRoot } from 'react-dom/client'
import { BrowserRouter,Route, Routes } from "react-router-dom"
import Login from './pages/login.jsx'
import AdminRouter from './routers/adminRouter.jsx'

createRoot(document.getElementById('root')).render(
<BrowserRouter>
      <Routes>
        <Route path="/" element={<Login/>} /> 
        <Route path="/admin/*" element={<AdminRouter/>} /> 
      </Routes>
  </BrowserRouter>
)
